<template>
	<div class="app-page page-center">
		<el-result title="啊哦~" sub-title="您访问的页面不存在">
			<template #icon>
				<el-image :src="imgError" />
			</template>
			<template #extra>
				<el-button type="primary" plain @click="goBack">返回控制台</el-button>
			</template>
		</el-result>
	</div>
</template>

<script>
import imgError from "@/assets/img/error.svg";

export default {
	name: "Error",
	data() {
		return {
			imgError
		};
	},
	methods: {
		goBack() {
			this.$router.push("/");
		}
	}
};
</script>
